package com.tarena.lbs.business.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StoreChainVO {
    @Schema(description  = "id",example = "1")
    private Integer id;

    @Schema(description  = "门店id",example = "1")
    private Integer storeId;

    @Schema(description = "店鋪信息",example = "门店内容")
    private StoreVO store;

    @Schema(description = "商家信息",example = "商家信息")
    private BusinessStoreVO business;

    @Schema(description  = "链接",example = "https://store.example.com/store?store=storebac889bd629f402e8edc70bc7be1b8f1")
    private String link;

    @Schema(description  = "二维码图片",example = "string")
    private String linkImage;

    @Schema(description  = "链接状态",example = "1")
    private Integer linkStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description  = "创建时间",example = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
